class c1 {
    constructor(name){
        this.name=name
    }
    static(){
        function fn(){
            console.log(1);
        }
    }
}
class c2 extends c1{
    constructor(name,age){
        super(name)
        this.age = age
    }
}
let c3= new c2('小明',18)
console.log(c3);